package com.fkrl.newhr.dao;

import com.fkrl.newhr.domain.Department;
import com.alibaba.fastjson.JSONObject;
import java.util.List;

public interface DepartmentDao {
    int queryExistDepartmentname(Department department);

    int countDepartment(JSONObject jsonObject);

    List<Department> listDepartment(JSONObject jsonObject);
    int deleteByPrimaryKey(String id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);
}